Ignore:
Timestamp:
2015-10-13T05:05:22Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b1ae59
Parents:
fdc6d84
Message:

skype: create groupchat as soon as a message is received

Before this commit, the bee_chat_by_title() call just failed when
receiving a message in a groupchat we didn't know about, which is
probably something skype broke in their api at some point.

I'm fixing this since apparently the only way to access p2p based chats
is through the official skype desktop client (they won't be supported
through msnp24 or skypeweb. It's broken in mobile clients already), so
this plugin is probably the best way to access those.

This breaks the 'msg' test - now all chats are groupchats and there's no
way to tell them apart.

However, in reality, private messages aren't delivered at all over the
api, or at least I never managed to get them working. Probably if you
talk with someone who has a very old patched skype client.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/t/groupchat-invite-bitlbee.mock

    rfdc6d84 r64bed24  
    77>> :bob!bob@skype.com JOIN :&bitlbee
    88<< PRIVMSG &bitlbee :chat with bob
    9 >> 353 alice = ##alice/$bob;a7ab206ec78 :@alice bob @root
     9>> 353 alice = ##alice/$bob;a7ab206ec78 :@alice @root
    1010<< INVITE cecil ##alice/$bob;a7ab206ec78
    1111>> cecil@skype.com JOIN :##alice/$bob;a7ab206ec78
Note: See TracChangeset for help on using the changeset viewer.