bugfix: also add no-permanent-storage to message hints
This commit is contained in:
		
							parent
							
								
									f1ee5cccf0
								
							
						
					
					
						commit
						394486b300
					
				| @ -183,7 +183,7 @@ public class OtrService extends OtrCryptoEngineImpl implements OtrEngineHost { | |||||||
| 		packet.addChild("private", "urn:xmpp:carbons:2"); | 		packet.addChild("private", "urn:xmpp:carbons:2"); | ||||||
| 		packet.addChild("no-copy", "urn:xmpp:hints"); | 		packet.addChild("no-copy", "urn:xmpp:hints"); | ||||||
| 		packet.addChild("no-permanent-store", "urn:xmpp:hints"); | 		packet.addChild("no-permanent-store", "urn:xmpp:hints"); | ||||||
| 
 | 		packet.addChild("no-permanent-store", "urn:xmpp:hints"); | ||||||
| 		try { | 		try { | ||||||
| 			Jid jid = Jid.fromSessionID(session); | 			Jid jid = Jid.fromSessionID(session); | ||||||
| 			Conversation conversation = mXmppConnectionService.find(account,jid); | 			Conversation conversation = mXmppConnectionService.find(account,jid); | ||||||
|  | |||||||
| @ -72,6 +72,7 @@ public class MessageGenerator extends AbstractGenerator { | |||||||
| 		packet.addChild("private", "urn:xmpp:carbons:2"); | 		packet.addChild("private", "urn:xmpp:carbons:2"); | ||||||
| 		packet.addChild("no-copy", "urn:xmpp:hints"); | 		packet.addChild("no-copy", "urn:xmpp:hints"); | ||||||
| 		packet.addChild("no-permanent-store", "urn:xmpp:hints"); | 		packet.addChild("no-permanent-store", "urn:xmpp:hints"); | ||||||
|  | 		packet.addChild("no-permanent-storage", "urn:xmpp:hints"); | ||||||
| 		try { | 		try { | ||||||
| 			String content; | 			String content; | ||||||
| 			if (message.hasFileOnRemoteHost()) { | 			if (message.hasFileOnRemoteHost()) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch