Fix cross typing.
This commit is contained in:
		
							parent
							
								
									a0cd39e3bc
								
							
						
					
					
						commit
						c3b3963760
					
				| @ -181,9 +181,11 @@ app.addEventListener("channel-message", (data) => { | |||||||
|         if (isMentionToMe(data.message)) { |         if (isMentionToMe(data.message)) { | ||||||
|             app.playSound("mention"); |             app.playSound("mention"); | ||||||
|         } else if (!isMentionForSomeoneElse(data.message)) { |         } else if (!isMentionForSomeoneElse(data.message)) { | ||||||
|  |             if(data.is_final){ | ||||||
|                 app.playSound("message"); |                 app.playSound("message"); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |     } | ||||||
|     const lastElement = messagesContainer.querySelector(".message-list-bottom"); |     const lastElement = messagesContainer.querySelector(".message-list-bottom"); | ||||||
|     const doScrollDown = messagesContainer.isScrolledToBottom(); |     const doScrollDown = messagesContainer.isScrolledToBottom(); | ||||||
|      |      | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user