EionRobb / icyque

ICQ WIM protocol for libpurple
GNU General Public License v3.0
73 stars 15 forks source link

fix: don't join a chat using an sn #34

Closed aviau closed 4 years ago

aviau commented 4 years ago

This fixes a bug that I have introduced. The current code breaks because it tries to join chats using an sn when double-clicking chats in pidgin, but it worked when using "Join Chat" and entering a stamp in the sn input field.

Now, sn will be detected and converted to a stamp in order to join the chat. When creating the chat, the name will always be an sn.

Whether you put an sn or a stamp in the Group ID field or the Join Chat window, it will work.

aviau commented 4 years ago

@EionRobb Can you take a look at this? It will solve an issue in the current master branch where conversations keep duplicating.