Opened at 2014-08-13T14:25:46Z
Closed at 2018-04-29T23:50:57Z
#1176 closed defect (obsolete)
First message in a new skype chat gets lost
Reported by: | Owned by: | Miklos Vajna | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Skype | Version: | 3.2.2 |
Keywords: | dbus, first message | Cc: | |
IRC client+version: | Client-independent | Operating System: | Linux |
OS version/distro: |
Description (last modified by )
HowtoSkype says:
Versions of Skype higher (and maybe lower) than 4.0.0.8 might not be sending first messages in a brand-new chat to bitlbee (i.e. when someone contacts you for the first time since client start). Skype just doesn't forward notifications about these to dbus for some reason.
For now clients < 4.3 cannot login, and it's time to fix this bug I think.
For a brand new chat with other user, first message look's like this:
CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 NAME #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 STATUS DIALOG CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 STATUS DIALOG CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 DIALOG_PARTNER fozzy_bot CHATMEMBER 99215 ROLE USER CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 MYROLE USER CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 MEMBERS fozzy_bot fozzy_inside CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 FRIENDLYNAME Bender Bot CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 ACTIVEMEMBERS fozzy_bot fozzy_inside CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 TIMESTAMP 1407922908 CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 ADDER fozzy_bot CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 STATUS DIALOG CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 POSTERS fozzy_bot CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 ACTIVITY_TIMESTAMP 1407922911
and has no
CHATMESSAGE <id> BODY <string>
But we can receive last messages like this:
GET CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 CHATMESSAGES CHAT #fozzy_bot/$fozzy_inside;3affbef0fa6e58a1 CHATMESSAGES 100201 GET CHATMESSAGE 100201 BODY CHATMESSAGE 100201 BODY first message test
Question is how to detect if need to send GET CHAT x CHATMESSAGES or not?
Attachments (1)
Change History (7)
comment:1 Changed at 2014-08-14T18:01:18Z by
Description: | modified (diff) |
---|---|
Priority: | major → normal |
Summary: | First message in a brand-new chat → First message in a new skype chat gets lost |
comment:3 Changed at 2014-08-15T15:59:09Z by
Neat! What's so dirty about it? This code looks like magnets to me
comment:4 Changed at 2014-08-15T16:42:41Z by
It breaks previous behaviour, when messages is not marked as read. And I haven't tested it in long term. Also I have noticed that not all dialogs sends CHAT message when someone invite you in chat, dunno if its related to this bug. I will try to gather some info in few days.
comment:5 Changed at 2014-08-18T09:04:24Z by
With this patch, first message sent to contact also appear in control channel, twice.
comment:6 Changed at 2018-04-29T23:50:57Z by
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Closing all skype tickets (plugin removed in a949b43ed657154d4ff8492bbdb16202a1a9f22d)
So, it has come to this...