diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-01 13:32:27 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-01 13:32:27 +0000 |
commit | 597d4be9de7903814c01631fbd4180a6f297ce92 (patch) | |
tree | 4ba2e27133c437e61d7dceffce251d7bf6dc582d /protocols/FacebookRM/src/contacts.cpp | |
parent | f7782fbf614361339617da21e6220044ffcf6822 (diff) |
Facebook: More improvements for chatrooms
git-svn-id: http://svn.miranda-ng.org/main/trunk@11194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 61acec9b56..44a41b8efe 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -328,6 +328,10 @@ void FacebookProto::LoadChatInfo(facebook_chatroom *fbc) MCONTACT FacebookProto::AddToContactList(facebook_user* fbu, ContactType type, bool force_add, bool add_temporarily) { + // Ignore self user completely + if (fbu->user_id == facy.self_.user_id) + return NULL; + // First, check if this contact exists (and if does, just return it) if (!force_add) { MCONTACT hContact = ContactIDToHContact(fbu->user_id); |