Page MenuHomePhabricator

Offline messaging support in MediaWikiChat
Open, Needs TriagePublic


Feature request originally asked by RDGGDR on Extension_talk:MediaWikiChat at MediaWiki

Fantastic extension. Is it likely to support offline messaging soon? Messages already come through if you use the user name in the portlet on the right to send it after they log off (e.g. if you already have a conversation going), but I can't see a way to send a message to a user account name when they're off. I hoped /msg Username would work like in IRC.

This basically sounds like the same thing as:

  1. client A and client B both connect to server;
  2. client B is offline;
  3. client A sends a message to client B(client B still offline);
  4. client B connect to server again;
  5. [Problem] client B can't receive the message from A;

And a response by Ravi was:

IMO there is no way only with sockets to achive this, for this you have to check state of the client B and save the offline messages to DB or to some socket variable, then push it back to client B when online

Still creating this though, this is an interesting concept to look into and it would be a great feature to have for chatting :)

Event Timeline

SamanthaNguyen moved this task from Backlog to Feedback / Suggestions on the MediaWikiChat board.

Right hold on, those examples there are referring to using sockets to send messages (this is when the client and the server keep an open connection on which messages can be passed). MWC uses polling however (a new connection is made every so often to check if there are new messages, then closed). This is still a valid suggestion however.

Oznogon added a subscriber: Oznogon.Jul 4 2017, 5:38 PM