Don't display the 'Closed' notification when a thread becomes archived.
This commit is contained in:
parent
5e971532b4
commit
9b222dc5c0
@ -243,6 +243,7 @@ ThreadUpdater =
|
|||||||
updateThreadStatus: (type, status) ->
|
updateThreadStatus: (type, status) ->
|
||||||
return unless hasChanged = ThreadUpdater.thread["is#{type}"] isnt status
|
return unless hasChanged = ThreadUpdater.thread["is#{type}"] isnt status
|
||||||
ThreadUpdater.thread.setStatus type, status
|
ThreadUpdater.thread.setStatus type, status
|
||||||
|
return if type is 'Closed' and ThreadUpdater.thread.isArchived
|
||||||
change = if type is 'Sticky'
|
change = if type is 'Sticky'
|
||||||
if status
|
if status
|
||||||
'now a sticky'
|
'now a sticky'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user