X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;h=72843a5ff13a25efc7ccfbe42b650587ce46343a;hb=6a63070246d89aa2a2474e3a9a1035fa889ad77e;hp=fb5995bbc35473b0b2d0ed2de979ccc0e9d2672b;hpb=f932e5c8a0ec3ff689686a71c32ee61a428c4340;p=quassel.git diff --git a/src/core/coresession.h b/src/core/coresession.h index fb5995bb..72843a5f 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -138,6 +138,9 @@ public slots: QHash persistentChannels(NetworkId) const; + QHash bufferCiphers(NetworkId id) const; + void setBufferCipher(NetworkId id, const QString &bufferName, const QByteArray &cipher) const; + /** * Marks us away (or unaway) on all networks * @@ -238,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;