summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-22 19:41:39 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-22 19:41:39 (GMT)
commit216cdc29eb9454f5eb772f3324ccf5210c48528a (patch)
tree90c6ecdb4be71d232970e42eeccb83f4b3d8a8f5 /Swift/Controllers/ChatControllerBase.h
parent9c9f97dc9ab10b644f59a9753c69b9691622025b (diff)
downloadswift-216cdc29eb9454f5eb772f3324ccf5210c48528a.zip
swift-216cdc29eb9454f5eb772f3324ccf5210c48528a.tar.bz2
Show own avatar in chat dialog.
Diffstat (limited to 'Swift/Controllers/ChatControllerBase.h')
-rw-r--r--Swift/Controllers/ChatControllerBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/ChatControllerBase.h b/Swift/Controllers/ChatControllerBase.h
index 5a322d2..b849c2b 100644
--- a/Swift/Controllers/ChatControllerBase.h
+++ b/Swift/Controllers/ChatControllerBase.h
@@ -30,7 +30,7 @@ namespace Swift {
void handleIncomingMessage(boost::shared_ptr<MessageEvent> message);
protected:
- ChatControllerBase(StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &toJID, PresenceOracle* presenceOracle, AvatarManager* avatarManager);
+ ChatControllerBase(const JID& self, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &toJID, PresenceOracle* presenceOracle, AvatarManager* avatarManager);
virtual void postSendMessage(const String&) {};
virtual String senderDisplayNameFromMessage(const JID& from) = 0;
@@ -47,6 +47,7 @@ namespace Swift {
String getErrorMessage(boost::shared_ptr<Error>);
protected:
+ JID selfJID_;
std::vector<boost::shared_ptr<MessageEvent> > unreadMessages_;
StanzaChannel* stanzaChannel_;
IQRouter* iqRouter_;