Skip to content

Commit

Permalink
Add some spaces around room pills in protection prompts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuxie committed May 22, 2024
1 parent 48c0fec commit 16435bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/protections/invitation/ProtectRoomsOnInvite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#32;
{renderRoomPill(candidateRoom)},
would you like to protect this room?
</root>;
Expand Down
2 changes: 1 addition & 1 deletion src/protections/invitation/WatchRoomsOnInvite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#32;
{renderRoomPill(candidateRoom)},
would you like Draupnir to watch this room as a policy list?
</root>;
Expand Down

0 comments on commit 16435bd

Please sign in to comment.