From 64bed24b810fa3c44d23132b2aa8792fc78ffe77 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 13 Oct 2015 02:05:22 -0300 Subject: 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. --- protocols/skype/t/groupchat-leave-bitlbee.mock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/skype/t/groupchat-leave-bitlbee.mock') diff --git a/protocols/skype/t/groupchat-leave-bitlbee.mock b/protocols/skype/t/groupchat-leave-bitlbee.mock index fefe54c0..0a1c02df 100644 --- a/protocols/skype/t/groupchat-leave-bitlbee.mock +++ b/protocols/skype/t/groupchat-leave-bitlbee.mock @@ -6,6 +6,6 @@ << PRIVMSG &bitlbee :account skype set skypeconsole_receive true << PRIVMSG &bitlbee :account skype on >> JOIN :##cecil/$bob;4d8cc996579 ->> 353 alice = ##cecil/$bob;4d8cc996579 :@alice bob cecil @root +>> 353 alice = ##cecil/$bob;4d8cc996579 :@alice @root << PART ##cecil/$bob;4d8cc996579 >> PRIVMSG &bitlbee :alice: CHAT #cecil/$bob;4d8cc9965791c6b9 STATUS UNSUBSCRIBED -- cgit v1.2.3