summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-08-28 12:00:29 +0000
committerRobert Pösel <robyer@seznam.cz>2016-08-28 12:00:29 +0000
commitc98539ee79a0d7e6ee2c20172a3387d6e38674d7 (patch)
treebfca89ed4bc57bdae1ba613c10565ae4d89e220e /protocols/SkypeWeb/src/skype_proto.h
parent2dce488713913a350803cd188919984b5d9b4f90 (diff)
SkypeWeb: Show better names for chat contacts
Based on idea of olegtarasov - https://github.com/miranda-ng/miranda-ng/pull/8 It primarily uses custom nicks (changed via chatroom), then it tries to get custom name of the contact in our contact list, or his nick (if custom name is not present), or as last option his id. Also custom name is used on more places (when adding new contact, or kicking contact - and also the "initiator" of the kick). git-svn-id: http://svn.miranda-ng.org/main/trunk@17211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index 964bbc1ac5..d9414dea98 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -350,6 +350,7 @@ private:
void AddMessageToChat(const wchar_t *chat_id, const wchar_t *from, const char *content, bool isAction, int emoteOffset, time_t timestamp, bool isLoading = false);
void AddChatContact(const wchar_t *tchat_id, const char *id, const char *name, const wchar_t *role, bool isChange = false);
void RemoveChatContact(const wchar_t *tchat_id, const char *id, const char *name, bool isKick = false, const char *initiator = "");
+ wchar_t *GetChatContactNick(const char *chat_id, const char *id, const char *name);
void RenameChat(const char *chat_id, const char *name);
void ChangeChatTopic(const char * chat_id, const char *topic, const char *initiator);