{"action":"created","issue":{"url":"https://api.github.com/repos/siacs/Conversations/issues/1839","repository_url":"https://api.github.com/repos/siacs/Conversations","labels_url":"https://api.github.com/repos/siacs/Conversations/issues/1839/labels{/name}","comments_url":"https://api.github.com/repos/siacs/Conversations/issues/1839/comments","events_url":"https://api.github.com/repos/siacs/Conversations/issues/1839/events","html_url":"https://github.com/siacs/Conversations/issues/1839","id":154373191,"number":1839,"title":"History receiving issue","user":{"login":"Myppomeu","id":2457778,"avatar_url":"https://avatars.githubusercontent.com/u/2457778?v=3","gravatar_id":"","url":"https://api.github.com/users/Myppomeu","html_url":"https://github.com/Myppomeu","followers_url":"https://api.github.com/users/Myppomeu/followers","following_url":"https://api.github.com/users/Myppomeu/following{/other_user}","gists_url":"https://api.github.com/users/Myppomeu/gists{/gist_id}","starred_url":"https://api.github.com/users/Myppomeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Myppomeu/subscriptions","organizations_url":"https://api.github.com/users/Myppomeu/orgs","repos_url":"https://api.github.com/users/Myppomeu/repos","events_url":"https://api.github.com/users/Myppomeu/events{/privacy}","received_events_url":"https://api.github.com/users/Myppomeu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-12T00:38:21Z","updated_at":"2016-05-12T09:57:12Z","closed_at":null,"body":"Android 4.1.2, Wifi 802.11n 2.4 GHz, Conversations 1.12.2, 2 XMPP accounts:\r\n1. At public internet server\r\n2. At local network (my own server)\r\n\r\n**How to reproduce:**\r\n1. Disconnect Conversations from server\r\n2. Let some write message to you (another client should be online, in my case it is Gajim)\r\n3. Connect Conversations to server\r\n4. Open conversation with contact who sended you message\r\n\r\nMessages that sended when Conversations were offline does not appears. There is no indication about receiving history from server or that there is no new history on server.\r\nAt fact I've seen such receiving only once on my local network server.\r\n\r\nI attach logcat log with debug level (`logcat *:D`; unfortunately github returning error when I try to add log as file). I run it after Conversations connects to both servers. Than bug affects, then I manually reconnect.\r\nWhat additional information should I provide?\r\n\r\n```\r\n--------- beginning of /dev/log/main\r\nD/CB.ConsoleActivity( 3498): onPause called\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54f4e000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e2000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x556ca000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523f3000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54dd7000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e1000 size:4096\r\nI/CB.TerminalManager( 3498): Someone unbound from TerminalManager with 1 bridges active\r\nW/IInputConnectionWrapper( 3498): showStatusIcon on inactive InputConnection\r\nW/IInputConnectionWrapper( 3498): InputConnection = org.connectbot.TerminalView$1@41d920c8, active client = false\r\nD/CB.ConsoleActivity( 3498): onNewIntent called\r\nE/CB.ConsoleActivity( 3498): Got null intent data in onNewIntent()\r\nD/CB.ConsoleActivity( 3498): onResume called\r\nI/CB.TerminalManager( 3498): Someone rebound to TerminalManager with 1 bridges active\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54dd7000 size:1536000 offset:0 fd:73\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e1000 size:4096 offset:0 fd:75\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54f4e000 size:1536000 offset:0 fd:77\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e2000 size:4096 offset:0 fd:79\r\nI/CB.TerminalBridge( 3498): parentChanged() now width=53, height=34\r\nD/memalloc( 3498): ion: Mapped buffer base:0x556ca000 size:1536000 offset:0 fd:81\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523f3000 size:4096 offset:0 fd:83\r\nD/memalloc( 3498): ion: Mapped buffer base:0x52623000 size:61440 offset:0 fd:86\r\nD/memalloc( 3498): ion: Mapped buffer base:0x524a0000 size:4096 offset:0 fd:88\r\nI/CB.TerminalBridge( 3498): parentChanged() now width=53, height=16\r\nD/memalloc( 3498): ion: Mapped buffer base:0x52752000 size:61440 offset:0 fd:90\r\nD/memalloc( 3498): ion: Mapped buffer base:0x524a1000 size:4096 offset:0 fd:92\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x52623000 size:61440\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x524a0000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x52752000 size:61440\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x524a1000 size:4096\r\nD/CB.ConsoleActivity( 3498): onPause called\r\nW/IInputConnectionWrapper( 3498): showStatusIcon on inactive InputConnection\r\nW/IInputConnectionWrapper( 3498): InputConnection = org.connectbot.TerminalView$1@41c370a0, active client = false\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54f4e000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e2000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x556ca000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523f3000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54dd7000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e1000 size:4096\r\nI/CB.TerminalManager( 3498): Someone unbound from TerminalManager with 1 bridges active\r\nD/CB.ConsoleActivity( 3498): onNewIntent called\r\nE/CB.ConsoleActivity( 3498): Got null intent data in onNewIntent()\r\nD/CB.ConsoleActivity( 3498): onResume called\r\nI/CB.TerminalManager( 3498): Someone rebound to TerminalManager with 1 bridges active\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54dd7000 size:1536000 offset:0 fd:73\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e1000 size:4096 offset:0 fd:75\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54f4e000 size:1536000 offset:0 fd:77\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e2000 size:4096 offset:0 fd:79\r\nI/CB.TerminalBridge( 3498): parentChanged() now width=53, height=34\r\nD/memalloc( 3498): ion: Mapped buffer base:0x556ca000 size:1536000 offset:0 fd:81\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523f3000 size:4096 offset:0 fd:83\r\nD/memalloc( 3498): ion: Mapped buffer base:0x52623000 size:61440 offset:0 fd:86\r\nD/memalloc( 3498): ion: Mapped buffer base:0x524a0000 size:4096 offset:0 fd:88\r\nI/CB.TerminalBridge( 3498): parentChanged() now width=53, height=16\r\nD/memalloc( 3498): ion: Mapped buffer base:0x52752000 size:61440 offset:0 fd:90\r\nD/memalloc( 3498): ion: Mapped buffer base:0x524a1000 size:4096 offset:0 fd:92\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x52623000 size:61440\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x524a0000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x52752000 size:61440\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x524a1000 size:4096\r\nD/CB.ConsoleActivity( 3498): onPause called\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54dd7000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e1000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x556ca000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523f3000 size:4096\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x54f4e000 size:1536000\r\nD/memalloc( 3498): ion: Unmapping buffer  base:0x523e2000 size:4096\r\nW/IInputConnectionWrapper( 3498): showStatusIcon on inactive InputConnection\r\nW/IInputConnectionWrapper( 3498): InputConnection = org.connectbot.TerminalView$1@41c370a0, active client = false\r\nI/CB.TerminalManager( 3498): Someone unbound from TerminalManager with 1 bridges active\r\nD/CB.ConsoleActivity( 3498): onResume called\r\nI/CB.TerminalManager( 3498): Someone rebound to TerminalManager with 1 bridges active\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54dd7000 size:1536000 offset:0 fd:73\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e1000 size:4096 offset:0 fd:75\r\nD/memalloc( 3498): ion: Mapped buffer base:0x54f4e000 size:1536000 offset:0 fd:77\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523e2000 size:4096 offset:0 fd:79\r\nD/memalloc( 3498): ion: Mapped buffer base:0x556ca000 size:1536000 offset:0 fd:81\r\nD/memalloc( 3498): ion: Mapped buffer base:0x523f3000 size:4096 offset:0 fd:83\r\n```"},"comment":{"url":"https://api.github.com/repos/siacs/Conversations/issues/comments/218712411","html_url":"https://github.com/siacs/Conversations/issues/1839#issuecomment-218712411","issue_url":"https://api.github.com/repos/siacs/Conversations/issues/1839","id":218712411,"user":{"login":"Myppomeu","id":2457778,"avatar_url":"https://avatars.githubusercontent.com/u/2457778?v=3","gravatar_id":"","url":"https://api.github.com/users/Myppomeu","html_url":"https://github.com/Myppomeu","followers_url":"https://api.github.com/users/Myppomeu/followers","following_url":"https://api.github.com/users/Myppomeu/following{/other_user}","gists_url":"https://api.github.com/users/Myppomeu/gists{/gist_id}","starred_url":"https://api.github.com/users/Myppomeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Myppomeu/subscriptions","organizations_url":"https://api.github.com/users/Myppomeu/orgs","repos_url":"https://api.github.com/users/Myppomeu/repos","events_url":"https://api.github.com/users/Myppomeu/events{/privacy}","received_events_url":"https://api.github.com/users/Myppomeu/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T09:57:12Z","updated_at":"2016-05-12T09:57:12Z","body":"Both servers provides MAM. At my server MAM enabled by default, at public server I enabled it for my account manually.\r\nTime sync on phone helps, but sometimes it displays one message twice. Need more time for testing.\r\n\r\nThere is no information in log while reproducing bug:\r\n`--------- beginning of /dev/log/main`"}}