diff options
author | dequis <dx@dxzone.com.ar> | 2015-10-13 02:05:22 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-10-13 02:05:22 -0300 |
commit | 64bed24b810fa3c44d23132b2aa8792fc78ffe77 (patch) | |
tree | ffc3b30753048432c754a672e6ef46333e86d0e9 /protocols/skype/t/groupchat-msg-skyped.mock | |
parent | fdc6d84a32e87c3486ac99b7aee282153d65b23e (diff) |
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.
Diffstat (limited to 'protocols/skype/t/groupchat-msg-skyped.mock')
-rw-r--r-- | protocols/skype/t/groupchat-msg-skyped.mock | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/skype/t/groupchat-msg-skyped.mock b/protocols/skype/t/groupchat-msg-skyped.mock index e939585c..c49604a2 100644 --- a/protocols/skype/t/groupchat-msg-skyped.mock +++ b/protocols/skype/t/groupchat-msg-skyped.mock @@ -35,14 +35,8 @@ << CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER bob >> GET CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC << CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC ->> GET CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER -<< CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER bob ->> GET CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC -<< CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC ->> GET CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER -<< CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER bob ->> GET CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC -<< CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC +>> GET CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS +<< CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS bob cecil alice >> GET CHATMESSAGE 188 FROM_HANDLE << CHATMESSAGE 188 FROM_HANDLE bob >> GET CHATMESSAGE 188 BODY |