@@ -242,17 +242,17 @@ Feature: federation/invite
242242 | federated_users | participant2 | 3 |
243243 Then user "participant1" sees the following system messages in room "room" with 200
244244 | room | actorType | actorId | systemMessage | message | messageParameters |
245- | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname ","server ":"http :\/\/localhost :8180 "}} |
246- | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} |
245+ | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname ","server ":"http :\/\/localhost :8180 "," mention - id ":" federated_user \/ participant2 @ http :\/\/ localhost : 8180 " }} |
246+ | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} |
247247 And user "participant1" adds federated_user "participant2" to room "room" with 200 (v4)
248248 When user "participant1" sees the following attendees in room "room" with 200 (v4)
249249 | actorType | actorId | participantType |
250250 | users | participant1 | 1 |
251251 | federated_users | participant2 | 3 |
252252 Then user "participant1" sees the following system messages in room "room" with 200
253253 | room | actorType | actorId | systemMessage | message | messageParameters |
254- | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname ","server ":"http :\/\/localhost :8180 "}} |
255- | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} |
254+ | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname ","server ":"http :\/\/localhost :8180 "," mention - id ":" federated_user \/ participant2 @ http :\/\/ localhost : 8180 " }} |
255+ | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} |
256256 And force run "OCA\T alk\B ackgroundJob\R emoveEmptyRooms" background jobs
257257 And user "participant2" has the following invitations (v1)
258258 | remoteServerUrl | remoteToken | state | inviterCloudId | inviterDisplayName |
@@ -275,10 +275,10 @@ Feature: federation/invite
275275 | users | participant1 | 1 |
276276 Then user "participant1" sees the following system messages in room "room" with 200
277277 | room | actorType | actorId | systemMessage | message | messageParameters |
278- | room | federated_users | participant2 @http ://localhost :8180 | federated_user_removed | {federated_user } declined the invitation | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "}} |
279- | room | federated_users | participant2 @http ://localhost :8180 | federated_user_added | {federated_user } accepted the invitation | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "}} |
280- | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "}} |
281- | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} |
278+ | room | federated_users | participant2 @http ://localhost :8180 | federated_user_removed | {federated_user } declined the invitation | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "," mention - id ":" federated_user \/ participant2 @ http :\/\/ localhost : 8180 " }} |
279+ | room | federated_users | participant2 @http ://localhost :8180 | federated_user_added | {federated_user } accepted the invitation | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "," mention - id ":" federated_user \/ participant2 @ http :\/\/ localhost : 8180 " }} |
280+ | room | users | participant1 | federated_user_added | You invited {federated_user } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "},"federated_user ":{"type ":"user ","id ":"participant2 ","name ":"participant2 @localhost :8180 ","server ":"http :\/\/localhost :8180 "," mention - id ":" federated_user \/ participant2 @ http :\/\/ localhost : 8180 " }} |
281+ | room | users | participant1 | conversation_created | You created the conversation | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} |
282282
283283 Scenario : Federate conversation meta data
284284 Given the following "spreed" app config is set
0 commit comments