Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group chat messages and ephemeral messages #2302

Open
harut420 opened this issue Jan 11, 2025 · 2 comments
Open

Group chat messages and ephemeral messages #2302

harut420 opened this issue Jan 11, 2025 · 2 comments

Comments

@harut420
Copy link

harut420 commented Jan 11, 2025

Hello developers,

  1. Describe the bug (mandatory)

Message sent to a group with client with no push nnotifications, does not recive messages if they are offline while come back online ( phone is switched off or app is quitted using Quit App Button )
The device with app quitted when it come back online does not recive any already sent message from the group.

To Reproduce (mandatory)

create a group with 3 devices on linphone free service ( all of three have not push notifications)
-1 Send a message to a newly created group chat. all devices recive message sent over the group.
-2 Quit linphone-adnroid on one the 3 device with Quit app button
-3 Send from other two device a messages into the group.

Expected behavior (mandatory)

app when come back online should receive messages already sent to group.

Please complete the following information (mandatory)

  • Device: [Pixel 8a]
  • OS: [e.g. Android 15]
  • Version of the App [ http://download.linphone.org/snapshots/android/linphone-android-release-6.0.0-alpha.1522+864677dab.apk ]
  • Where you did got it from ( http://download.linphone.org/snapshots/android/ )

Screenshots (optionnal)
VERIOSN APP AND SDK
version_app

MESSAGE SENT TO GROUP ALL DEVICE GET IT
message-sent-group-ok

MESSAGE SENT TO GROUP WHERE VERY LEFT ONE WAS OFFLINE QUITTING WITH QUIT APP BUTTON ( or switching off the device - aka shoutdown )
after-restart-app

Additional context (optionnal)

if Ephemeral messages are enabled in a group chat for example to 1 minute ( 60 seconds )
message arrive int the group but countdown lifetime does not start ( lack on notification read? ), in this case all 3 device does not start countdown lifetme and message does not disappear.
group-message-ephemeral

Additional context (optionnal)
if ephemeral message are enabled to one-to-one Chat countdown or ephemeral function is enable only who have enabled the ephemeral not on both device. maybe here would be better if one party enable ephmeral message both side have it enabled .

ephemeral-one-to-one

I hope my contribution helps improve this fantastic app, which is very promising, especially after the UI revamp.
Harut42,

@Viish
Copy link
Member

Viish commented Jan 13, 2025

Hi @harut420,

It looks like there is a IMDN failure (delivery notification) because in your first screen, where message is being received, no-one shows the delivery status (neither received nor displayed, only sent).
This explains why the countdown doesn't start for ephemeral messages (it only starts when it goes to displayed state).
Could you attach the far left device logs please?

The fact that the message isn't received when device is shut down (or quit) is expected because you don't have push notifications. Without them, when app is turned off, the client un-register to the proxy, so there is no fork message context for them.

Ephemeral messages are only enabled in a conversation for the one that have enabled the feature, it is a choice we made for Linphone (but our SDK does support the mode where admin can force the mode for everyone).

Cheers,

@harut420
Copy link
Author

harut420 commented Jan 13, 2025

Hi @Viish
attached a log debug of a similar situations ( i wiped out all devices and reinstalled back again all of three)
i have reinstalled same app version as before.
group-message ephemeral3_3_version

I see only one difference sending message to the Group, sender now get lifetime countdown as showed into following images

group-message ephemeral3

group-message ephemeral3_1

group-message ephemeral3_2

here i attach the log taken from very left device .
67851efc0701a_8bc04affa73c6811991b.txt

The fact that the message isn't received when device is shut down (or quit) is expected because you don't have push >notifications. Without them, when app is turned off, the client un-register to the proxy, so there is no fork message context for >them

is there any way to have push notifications working with no Google account? this would help a lot for anyone does not like to have google into device.

Ephemeral messages are only enabled in a conversation for the one that have enabled the feature, it is a choice we made >for Linphone (but our SDK does support the mode where admin can force the mode for everyone).
good to have such possibility.

Additional context (optionnal)

I tryed to make call to the group and it is working well. i also have closed one partecipant, very left one as shown into the image. Then i tryed to join back again the group call ( sometimes could happens someone left and come back to call conf )
while i cliccked the incoming group calls from history, it does not do anything . ( so dont call back the group )

group-message ephemeral_call1

so then i closed other two devices that was calling the group, and i tryed to join back the group from call history as shown .

group-message ephemeral_call2

only the device have inititiated the group call before with outgoing arrow is performing call to the group, not the others two, as show in following image ( so device received the group call with incoming arrow are not performing any call to the group if are cliccked )
group-message ephemeral_call3

i attach here the last debug log again from very left device, in case is required ;-).
678525c848ffb_0d6ae47ae5c079f35c24.txt

Hope this help.
Harut42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants