forked from CIT/Vmeda.Online
		
	MOBILE-3039 message: Fix confirm delete self conv messages
This commit is contained in:
		
							parent
							
								
									1c033bf023
								
							
						
					
					
						commit
						1647cad957
					
				| @ -811,7 +811,8 @@ export class AddonMessagesDiscussionPage implements OnDestroy { | ||||
|      */ | ||||
|     deleteMessage(message: any, index: number): void { | ||||
|         const canDeleteAll = this.conversation && this.conversation.candeletemessagesforallusers, | ||||
|             langKey = message.pending || canDeleteAll ? 'core.areyousure' : 'addon.messages.deletemessageconfirmation', | ||||
|             langKey = message.pending || canDeleteAll || this.isSelf ? 'core.areyousure' : | ||||
|                     'addon.messages.deletemessageconfirmation', | ||||
|             options: any = {}; | ||||
| 
 | ||||
|         if (canDeleteAll && !message.pending) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user