source: protocols/skype/t/groupchat-msg-bitlbee.mock @ d11822a

Last change on this file since d11822a was 64bed24, checked in by dequis <dx@…>, at 2015-10-13T05:05:22Z

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.

  • Property mode set to 100644
File size: 447 bytes
Line 
1>> NOTICE *
2<< NICK alice
3<< USER alice alice localhost :Alice
4>> PRIVMSG &bitlbee
5<< PRIVMSG &bitlbee :account add skype alice foo
6<< PRIVMSG &bitlbee :account skype set skypeconsole_receive true
7<< PRIVMSG &bitlbee :account skype on
8>> JOIN :##cecil/$bob;4d8cc996579
9>> 353 alice = ##cecil/$bob;4d8cc996579 :@alice @root
10<< PRIVMSG ##cecil/$bob;4d8cc996579 :hello
11>> PRIVMSG &bitlbee :alice: CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVITY_TIMESTAMP
Note: See TracBrowser for help on using the repository browser.