element-call icon indicating copy to clipboard operation
element-call copied to clipboard

Send notification events when starting a call

Open robintown opened this issue 7 months ago • 2 comments

Previously this has been the responsibility of the hosting application (Element Web / Element X), but I would like to move this responsibility to Element Call itself to make it even more lightweight to integrate Element Call into a widget-capable client.

Depends on https://github.com/matrix-org/matrix-js-sdk/pull/4826

robintown avatar May 05 '25 17:05 robintown

I remember the idea being that this is part of the hosting application is that we can have different behaviours on mobile vs desktop and that we might introduce custom ui to send a ring/notify call. A modal for instance asking you if you really want to ring LargeNumber of users. Or a notice, that you do not have the right to ring in this room.

toger5 avatar May 14 '25 10:05 toger5

I think we would still have the opportunity to do that, as the widget here gets to decide the notification behavior at the point that it enters the session, and the hosting application can always give extra context to the widget about how it's being used (intent etc.) through the URL params

robintown avatar May 14 '25 14:05 robintown

@robintown , @toger5 , thank you for that! Am I correct that this feature has to be enabled in the configs? If so - could you please, advice on how to enable it? And when it might be available in production?

alexander-potemkin avatar Jul 23 '25 08:07 alexander-potemkin

@robintown , @toger5 , thank you for that! Am I correct that this feature has to be enabled in the configs? If so - could you please, advice on how to enable it? And when it might be available in production?

It needs to be passed as an URL parameter by the Messenger Apps. Its on the agenda next:

  • ship new EC release
  • get PRs in the messenger Apps
  • release the messenger Apps

fkwp avatar Jul 23 '25 08:07 fkwp

It needs to be passed as an URL parameter by the Messenger Apps. Its on the agenda next:

  • ship new EC release
  • get PRs in the messenger Apps
  • release the messenger Apps

Thank you! From what I recall, from the chat on matrix.org, Element X developers has been resistant to enable group call notifications - so there are chances that messenger just won't enable that (unless I'm missing something!).

If so, is there a possibility to regulate Element Call behavior via server side configs somehow?

alexander-potemkin avatar Jul 23 '25 10:07 alexander-potemkin