X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;h=72843a5ff13a25efc7ccfbe42b650587ce46343a;hb=436cb365db846985ef5ce508cb5bf925cd903480;hp=9967f8020dec30d6ed5039ab0ce8be50f60a31d4;hpb=c382e0c11f80fb37307ecc42c487aa433c97ad8c;p=quassel.git diff --git a/src/core/coresession.h b/src/core/coresession.h index 9967f802..72843a5f 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -241,6 +241,20 @@ private: * @param bufferInfo The BufferInfo object of the buffer */ QString senderPrefixes(const QString &sender, const BufferInfo &bufferInfo) const; + + /** + * This method obtains the realname of the message's sender. + * @param sender The hostmask of the sender + * @param networkId The network the user is on + */ + QString realName(const QString &sender, NetworkId networkId) const; + + /** + * This method obtains the avatar of the message's sender. + * @param sender The hostmask of the sender + * @param networkId The network the user is on + */ + QString avatarUrl(const QString &sender, NetworkId networkId) const; QList _messageQueue; bool _processMessages; CoreIgnoreListManager _ignoreListManager;