@@ -335,27 +335,28 @@ defmodule M51.Irc.Command do
335335
336336 tags = Map . drop ( command . tags , [ "+draft/display-name" , "account" ] )
337337
338- command = case command do
339- % { params: [ channel , msgid , reason ] } ->
340- % M51.Irc.Command {
341- tags: Map . put ( tags , "+draft/reply" , msgid ) ,
342- source: "server." ,
343- command: "NOTICE" ,
344- params: [ channel , "#{ sender } #{ display_name } deleted an event: #{ reason } " ]
345- }
346-
347- % { params: [ channel , msgid ] } ->
348- % M51.Irc.Command {
349- tags: Map . put ( tags , "+draft/reply" , msgid ) ,
350- source: "server." ,
351- command: "NOTICE" ,
352- params: [ channel , "#{ sender } #{ display_name } deleted an event" ]
353- }
354-
355- _ ->
356- # shouldn't happen
357- nil
358- end
338+ command =
339+ case command do
340+ % { params: [ channel , msgid , reason ] } ->
341+ % M51.Irc.Command {
342+ tags: Map . put ( tags , "+draft/reply" , msgid ) ,
343+ source: "server." ,
344+ command: "NOTICE" ,
345+ params: [ channel , "#{ sender } #{ display_name } deleted an event: #{ reason } " ]
346+ }
347+
348+ % { params: [ channel , msgid ] } ->
349+ % M51.Irc.Command {
350+ tags: Map . put ( tags , "+draft/reply" , msgid ) ,
351+ source: "server." ,
352+ command: "NOTICE" ,
353+ params: [ channel , "#{ sender } #{ display_name } deleted an event" ]
354+ }
355+
356+ _ ->
357+ # shouldn't happen
358+ nil
359+ end
359360
360361 # run downgrade() recursively in order to drop the new tags if necessary
361362 downgrade ( command , capabilities )
0 commit comments