Changeset 410:30655acb40e0

Show
Ignore:
Timestamp:
05/07/2010 06:36:25 PM (21 months ago)
Author:
Sidgyck <sidgyck@…>
Branch:
default
rebase_source:
56ea54fc9df82dde29e397ff25367f822329093b
Message:

[FIX]: !muc age [nick] now show date a participant "nick" join the room in a first time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/plugins/muc/mucplugin.cpp

    r409 r410  
    11071107                if (!n) 
    11081108                        return true; 
    1109                 reply(s,QString::number(n->jid() ? n->jid()->created().secsTo(QDateTime::currentDateTime()) : 0)); 
     1109 
     1110                reply(s, QString("%1: %2 (%3)").arg(n->nick()) 
     1111                      .arg(n->jid() ? n->jid()->created().secsTo(QDateTime::currentDateTime()) : 0) 
     1112                      .arg(n->jid() ? n->jid()->created().toString() : QDateTime::currentDateTime().toString())); 
    11101113                return true; 
    11111114        }