removed member gxs_id from ChatId class, because ChatId now uses tunnel ids stored in distant_chat_id for distant chat.

reverted naming confusion in in libresapi ChatHandler and fixed author of distant chat messages (distant chat is still unfinished)
This commit is contained in:
electron128 2015-12-05 17:00:57 +01:00
parent 0ac76d621e
commit 7cd880e1e4
9 changed files with 43 additions and 55 deletions

View file

@ -66,7 +66,7 @@ public:
bool is_private;
bool is_broadcast;
RsGxsId distant_chat_id;// for subscribed lobbies: the id we use to write messages
RsGxsId gxs_id;// for subscribed lobbies: the id we use to write messages
bool operator==(const Lobby& l) const
{
@ -76,8 +76,8 @@ public:
&& subscribed == l.subscribed
&& auto_subscribe == l.auto_subscribe
&& is_private == l.is_private
&& id == l.id
&& is_broadcast == l.is_broadcast;
&& is_broadcast == l.is_broadcast
&& gxs_id == l.gxs_id;
}
};