1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-31 08:58:20 +01:00
phorge-phorge/src/applications/conpherence
Valerio Bozzolan 8507d3a950 Fix Exception in Chat room when you are not a Participant
Summary:
After this change you can lurk in public chats, and receive notifications, without crashing your planet.

Fix exception "Undefined index: PHID-USER-..." shown to newcomers when they are receiving messages
from a public Chat they are not members of.

Closes T15497

Test Plan:
- Have the Notification server (Aphlict) enabled and running.
  https://we.phorge.it/book/phorge/article/notifications/
- Be user Alice and visit a Conpherence Room. Alice must be not a participant.
- Be user Bob and send a message in that Room.

Now Alice does not see a crash anymore, but the message from Bob.

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15497

Differential Revision: https://we.phorge.it/D25408
2023-11-09 21:05:56 +01:00
..
__tests__ Add participants ModularTransactions to Conpherence 2017-04-19 14:01:15 -07:00
application Update Conpherence to use EditEngine 2017-04-29 19:39:12 -07:00
conduit Mark ConpherenceCreate and Update conduit calls as frozen 2017-05-01 09:59:38 -07:00
constants Update Conpherence to use EditEngine 2017-04-29 19:39:12 -07:00
controller Fix Exception in Chat room when you are not a Participant 2023-11-09 21:05:56 +01:00
editor Remove "metamta.*.subject-prefix" options 2019-01-17 19:18:50 -08:00
engineextension Fix a straggling issue with cursor changes impacting Conpherence thread indexing 2019-03-28 17:23:53 -07:00
lipsum Add a lipsum generator for Conpherence Rooms 2017-04-29 20:08:00 -07:00
mail Allow multiple mail receivers to react to an individual email 2019-01-16 12:28:02 -08:00
phid Conpherence - remove room vs message distinction as far as users are concerned 2015-06-25 13:14:20 -07:00
policyrule Conpherence - remove room vs message distinction as far as users are concerned 2015-06-25 13:14:20 -07:00
query Fix PHP 8.1 "strlen(null)" exceptions which block rendering the Conpherence page 2023-04-30 18:24:49 +02:00
remarkup Conpherence - make ZXXX monograms a bit more useful. 2015-04-13 12:45:55 -07:00
storage Remove "getApplicationTransactionObject()" from ApplicationTransactionInterface 2018-12-20 15:16:19 -08:00
typeahead Add Room typeahead for Conpherence Search 2016-10-12 08:38:45 -07:00
view Improve Conpherence behavior for logged out users. 2019-04-02 14:03:08 -07:00
xaction Remove requireCapabilities() from ApplicationTransactionEditor and require CAN_EDIT by default 2018-08-24 17:45:56 -07:00
ConpherenceTransactionRenderer.php Convert date-marker to ModularTransaction in Conpherence 2017-04-13 13:01:36 -07:00