mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-15 03:45:22 +00:00
Add some spaces around room pills in protection prompts.
This commit is contained in:
@@ -46,7 +46,7 @@ export class ProtectroomsOnInvite {
|
||||
void Task((async () => {
|
||||
const renderPromptProtect = (): DocumentNode =>
|
||||
<root>
|
||||
{renderMentionPill(invitation.sender, invitation.sender)} has invited me to
|
||||
{renderMentionPill(invitation.sender, invitation.sender)} has invited me to  
|
||||
{renderRoomPill(candidateRoom)},
|
||||
would you like to protect this room?
|
||||
</root>;
|
||||
|
||||
@@ -73,7 +73,7 @@ export class WatchRoomsOnInvite {
|
||||
private async promptWatchPolicyRoom(candidateRoom: MatrixRoomID, invitation: MembershipEvent) {
|
||||
const renderPromptWatch = (): DocumentNode =>
|
||||
<root>
|
||||
{renderMentionPill(invitation.sender, invitation.sender)} has invited me to a policy room
|
||||
{renderMentionPill(invitation.sender, invitation.sender)} has invited me to a policy room  
|
||||
{renderRoomPill(candidateRoom)},
|
||||
would you like Draupnir to watch this room as a policy list?
|
||||
</root>;
|
||||
|
||||
Reference in New Issue
Block a user