{"action":"created","issue":{"url":"https://api.github.com/repos/jcbrand/converse.js/issues/403","labels_url":"https://api.github.com/repos/jcbrand/converse.js/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/jcbrand/converse.js/issues/403/comments","events_url":"https://api.github.com/repos/jcbrand/converse.js/issues/403/events","html_url":"https://github.com/jcbrand/converse.js/issues/403","id":78036701,"number":403,"title":"Roster not updating when new contact is added","user":{"login":"teseo","id":2123048,"avatar_url":"https://avatars.githubusercontent.com/u/2123048?v=3","gravatar_id":"","url":"https://api.github.com/users/teseo","html_url":"https://github.com/teseo","followers_url":"https://api.github.com/users/teseo/followers","following_url":"https://api.github.com/users/teseo/following{/other_user}","gists_url":"https://api.github.com/users/teseo/gists{/gist_id}","starred_url":"https://api.github.com/users/teseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teseo/subscriptions","organizations_url":"https://api.github.com/users/teseo/orgs","repos_url":"https://api.github.com/users/teseo/repos","events_url":"https://api.github.com/users/teseo/events{/privacy}","received_events_url":"https://api.github.com/users/teseo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-19T10:49:49Z","updated_at":"2015-05-20T12:54:19Z","closed_at":null,"body":"I'm logged in and have my converse roster list in an prebind session, when a new contact is added to the roster list and both are subscribed to each other, I need to refresh in order to see this new contact in my roster list.\r\n\r\nI can see that if the other user changes presence or send messages, those are delivered to the browser but are not displayed due to is not appearing in the roster list. I need to refresh the page and then all works perfectly.\r\n\r\nIs this the normal behaviour or a bug?\r\n\r\nThanks!!"},"comment":{"url":"https://api.github.com/repos/jcbrand/converse.js/issues/comments/103874492","html_url":"https://github.com/jcbrand/converse.js/issues/403#issuecomment-103874492","issue_url":"https://api.github.com/repos/jcbrand/converse.js/issues/403","id":103874492,"user":{"login":"teseo","id":2123048,"avatar_url":"https://avatars.githubusercontent.com/u/2123048?v=3","gravatar_id":"","url":"https://api.github.com/users/teseo","html_url":"https://github.com/teseo","followers_url":"https://api.github.com/users/teseo/followers","following_url":"https://api.github.com/users/teseo/following{/other_user}","gists_url":"https://api.github.com/users/teseo/gists{/gist_id}","starred_url":"https://api.github.com/users/teseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teseo/subscriptions","organizations_url":"https://api.github.com/users/teseo/orgs","repos_url":"https://api.github.com/users/teseo/repos","events_url":"https://api.github.com/users/teseo/events{/privacy}","received_events_url":"https://api.github.com/users/teseo/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T12:54:19Z","updated_at":"2015-05-20T12:54:19Z","body":"The new contact is added directly on mysql. I enter two rows relationing the jid and nick columns with the column subscription set to B, ask to N, server to N, subscribe empty and type item. "}}