Allow queing of messages to offline peer - do replay on connect #172

Closed
opened 2021-09-05 11:49:35 +00:00 by icwtch · 8 comments

Hi, just trying to get cwtch work on MacOS for now before trying to suggest it to some select friends. Understood that the p2p nature needs both peers to be online (like Jami f.ex.). Is it possible for the online peer to send chat messages to a registered contact who's offline who's chat history will automatically update when he gets online or when the registered peer is offline, is it simply impossible to send any message at all?

Hi, just trying to get cwtch work on MacOS for now before trying to suggest it to some select friends. Understood that the p2p nature needs both peers to be online (like Jami f.ex.). Is it possible for the online peer to send chat messages to a registered contact who's offline who's chat history will automatically update when he gets online or when the registered peer is offline, is it simply impossible to send any message at all?
icwtch changed title from does latecoming peer self-update chat history and missed messages ? to does offline peer self-update chat history and missed messages when connecting ? 2021-09-06 12:58:50 +00:00
Owner

if someone is offline they cannot receive messages as they are offline.

currently groups are a partial potential solution to this as they are hosted on a server so when the offline peer comes online, they can download new messages from there.

we have further development plans but they will take a bit longer :)

if someone is offline they cannot receive messages as they are offline. currently groups are a partial potential solution to this as they are hosted on a server so when the offline peer comes online, they can download new messages from there. we have further development plans but they will take a bit longer :)
Author

Thanks, but what i meant is between one-to-one chats. Let's say the sender is online and the receiver not. Sure enough, when being offline, one can't receive the 'unsent' messages. What i was asking is whether these unsent messages will automatically be delivered to the receiver once the latter fires up cwtch or will they be lost and have to be sent again ?

Thanks, but what i meant is between one-to-one chats. Let's say the sender is online and the receiver not. Sure enough, when being offline, one can't receive the 'unsent' messages. What i was asking is whether these unsent messages will automatically be delivered to the receiver once the latter fires up cwtch or will they be lost and have to be sent again ?
Owner

nope, we dont currently allow you to try and send a message to someone offline as we can make no reasonable garuntees about that and dont have any robust queuing system to try retrying sending like that

nope, we dont currently allow you to try and send a message to someone offline as we can make no reasonable garuntees about that and dont have any robust queuing system to try retrying sending like that
Author

ok thanks for clearing that up. Would it really be that hard to have a peer update chat history and trigger reception of queued files or even just chat history ?

ok thanks for clearing that up. Would it really be that hard to have a peer update chat history and trigger reception of queued files or even just chat history ?
Owner

if you take a look at the code, it's more complex than you might think :) it's far from impossible, but it would take some time and work and we simply havent scheduled it. As a small team we have limited resources on what we work on and other things like adding file sharing, adding server management, adding images, audio; have all taken priority. Also work on group contacts/hybrid groups. There's a lot we want to do with limited resources. This will eventually bubble up, but not on the short term radar probably. Work on the "hybrid group" project may actually start to address it, which is in part why we haven't bothered to look at it yet, as it might end up having been premature and redundant work till we had better tools elsewhere

if you take a look at the code, it's more complex than you might think :) it's far from impossible, but it would take some time and work and we simply havent scheduled it. As a small team we have limited resources on what we work on and other things like adding file sharing, adding server management, adding images, audio; have all taken priority. Also work on group contacts/hybrid groups. There's a lot we want to do with limited resources. This will eventually bubble up, but not on the short term radar probably. Work on the "hybrid group" project may actually start to address it, which is in part why we haven't bothered to look at it yet, as it might end up having been premature and redundant work till we had better tools elsewhere
Author

ok no problem. It would automate certain things though, like to make sure the other side has the same info as we on screen... Might be added to the todo list...

ok no problem. It would automate certain things though, like to make sure the other side has the same info as we on screen... Might be added to the todo list...
dan changed title from does offline peer self-update chat history and missed messages when connecting ? to Allow queing of messages to offline peer - do replay on connect 2022-01-04 13:31:19 +00:00
dan added the
enhancement
label 2022-01-04 13:31:27 +00:00
Owner

closing in favor of #414

closing in favor of #414
Owner

this work should hopefully be scheduled soon

this work should hopefully be scheduled soon
dan closed this issue 2022-04-11 16:01:43 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#172
No description provided.