@@ -96,7 +96,7 @@ enum Kind {
9696 MODERATION_REQUEST ,
9797 //! An abuse report, as per https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-rooms-roomid-report-eventid
9898 SERVER_ABUSE_REPORT ,
99- //! Mjölnir encountered a problem while attempting to handle a moderation request or abuse report
99+ //! Draupnir encountered a problem while attempting to handle a moderation request or abuse report
100100 ERROR ,
101101 //! A moderation request or server abuse report escalated by the server/room moderators.
102102 ESCALATED_REPORT ,
@@ -572,7 +572,7 @@ interface IUIAction {
572572 /**
573573 * A unique label.
574574 *
575- * Used by Mjölnir to differentiate the actions, e.g. `kick-user`.
575+ * Used by Draupnir to differentiate the actions, e.g. `kick-user`.
576576 */
577577 readonly label : string ;
578578
@@ -590,14 +590,14 @@ interface IUIAction {
590590 readonly needsConfirmation : boolean ;
591591
592592 /**
593- * Detect whether the action may be executed, e.g. whether Mjölnir has
593+ * Detect whether the action may be executed, e.g. whether Draupnir has
594594 * sufficient powerlevel to execute this action.
595595 *
596596 * **Security caveat** This assumes that the security policy on whether
597597 * the operation can be executed is:
598598 *
599599 * > *Anyone* in the moderation room and who isn't muted can execute
600- * > an operation iff Mjölnir has the rights to execute it.
600+ * > an operation iff Draupnir has the rights to execute it.
601601 *
602602 * @param report Details on the abuse report.
603603 */
@@ -902,7 +902,7 @@ class Help implements IUIAction {
902902 ) )
903903 ) {
904904 list . push (
905- `<li>Some actions were disabled because Mjölnir is not moderator in room ${ htmlEscape ( report . room_alias_or_id ) } </li>`
905+ `<li>Some actions were disabled because Draupnir is not moderator in room ${ htmlEscape ( report . room_alias_or_id ) } </li>`
906906 ) ;
907907 }
908908 const body = `<ul>${ list . join ( "\n" ) } </ul>` ;
@@ -911,7 +911,7 @@ class Help implements IUIAction {
911911}
912912
913913/**
914- * Escalate to the moderation room of this instance of Mjölnir .
914+ * Escalate to the moderation room of this instance of Draupnir .
915915 */
916916class EscalateToServerModerationRoom implements IUIAction {
917917 public label = "escalate-to-server-moderation" ;
@@ -1055,7 +1055,7 @@ class DisplayManager {
10551055 }
10561056 } catch ( ex ) {
10571057 eventContent = {
1058- msg : `<Cannot extract event. Please verify that Mjölnir has been invited to room ${ room . toPermalink ( ) } and made room moderator or administrator>.` ,
1058+ msg : `<Cannot extract event. Please verify that Draupnir has been invited to room ${ room . toPermalink ( ) } and made room moderator or administrator>.` ,
10591059 } ;
10601060 }
10611061
@@ -1084,7 +1084,7 @@ class DisplayManager {
10841084 try {
10851085 eventTimestamp = new Date ( event [ "origin_server_ts" ] ) . toUTCString ( ) ;
10861086 } catch ( ex ) {
1087- eventTimestamp = `<Cannot extract event. Please verify that Mjölnir has been invited to room ${ room . toPermalink ( ) } and made room moderator or administrator>.` ;
1087+ eventTimestamp = `<Cannot extract event. Please verify that Draupnir has been invited to room ${ room . toPermalink ( ) } and made room moderator or administrator>.` ;
10881088 }
10891089
10901090 let title ;
0 commit comments