source: protocols/skype/t/groupchat-msg-skyped.mock @ faa7abb6

Last change on this file since faa7abb6 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: 2.1 KB
Line 
1>> SEARCH GROUPS CUSTOM
2<< GROUPS 48, 49
3>> SEARCH FRIENDS
4<< USERS echo123, bob, cecil
5>> SET USERSTATUS ONLINE
6<< USERSTATUS ONLINE
7>> SET USERSTATUS ONLINE
8<< USERSTATUS ONLINE
9>> GET USER echo123 ONLINESTATUS
10<< USER echo123 ONLINESTATUS ONLINE
11>> GET USER echo123 FULLNAME
12<< USER echo123 FULLNAME Echo / Sound Test Service
13>> GET USER bob ONLINESTATUS
14<< USER bob ONLINESTATUS OFFLINE
15>> GET USER bob FULLNAME
16<< USER bob FULLNAME Bob
17>> GET USER cecil ONLINESTATUS
18<< USER cecil ONLINESTATUS OFFLINE
19>> GET USER cecil FULLNAME
20<< USER cecil FULLNAME Cecil
21<< CHAT #cecil/$bob;4d8cc9965791c6b9 NAME #cecil/$bob;4d8cc9965791c6b9
22<< CHAT #cecil/$bob;4d8cc9965791c6b9 STATUS MULTI_SUBSCRIBED
23<< CHAT #cecil/$bob;4d8cc9965791c6b9 STATUS MULTI_SUBSCRIBED
24<< CHATMEMBER 186 ROLE USER
25<< CHAT #cecil/$bob;4d8cc9965791c6b9 MYROLE USER
26<< CHAT #cecil/$bob;4d8cc9965791c6b9 MEMBERS bob cecil alice
27<< CHAT #cecil/$bob;4d8cc9965791c6b9 FRIENDLYNAME bob, cecil
28<< CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS bob alice
29<< CHAT #cecil/$bob;4d8cc9965791c6b9 TIMESTAMP 1358276196
30<< CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER bob
31<< CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC
32<< CHAT #cecil/$bob;4d8cc9965791c6b9 STATUS MULTI_SUBSCRIBED
33<< CHATMESSAGE 188 STATUS RECEIVED
34>> GET CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER
35<< CHAT #cecil/$bob;4d8cc9965791c6b9 ADDER bob
36>> GET CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC
37<< CHAT #cecil/$bob;4d8cc9965791c6b9 TOPIC
38>> GET CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS
39<< CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS bob cecil alice
40>> GET CHATMESSAGE 188 FROM_HANDLE
41<< CHATMESSAGE 188 FROM_HANDLE bob
42>> GET CHATMESSAGE 188 BODY
43<< CHATMESSAGE 188 BODY
44>> GET CHATMESSAGE 188 TYPE
45<< CHATMESSAGE 188 TYPE ADDEDMEMBERS
46>> GET CHATMESSAGE 188 CHATNAME
47<< CHATMESSAGE 188 CHATNAME #cecil/$bob;4d8cc9965791c6b9
48<< CHATMESSAGE 189 STATUS READ
49<< CHATMESSAGE 189 STATUS READ
50<< CHATMEMBER 186 IS_ACTIVE TRUE
51<< CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVEMEMBERS bob cecil alice
52<< CHATMESSAGE 190 STATUS SENT
53>> CHATMESSAGE #cecil/$bob;4d8cc9965791c6b9 hello
54<< CHAT #cecil/$bob;4d8cc9965791c6b9 ACTIVITY_TIMESTAMP 1364652882
Note: See TracBrowser for help on using the repository browser.