{"action":"created","issue":{"url":"https://api.github.com/repos/deltachat/deltachat-core/issues/475","repository_url":"https://api.github.com/repos/deltachat/deltachat-core","labels_url":"https://api.github.com/repos/deltachat/deltachat-core/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/deltachat/deltachat-core/issues/475/comments","events_url":"https://api.github.com/repos/deltachat/deltachat-core/issues/475/events","html_url":"https://github.com/deltachat/deltachat-core/issues/475","id":391369692,"node_id":"MDU6SXNzdWUzOTEzNjk2OTI=","number":475,"title":"when to move messags from INBOX to DeltaChat folder?","user":{"login":"r10s","id":9800740,"node_id":"MDQ6VXNlcjk4MDA3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/9800740?v=4","gravatar_id":"","url":"https://api.github.com/users/r10s","html_url":"https://github.com/r10s","followers_url":"https://api.github.com/users/r10s/followers","following_url":"https://api.github.com/users/r10s/following{/other_user}","gists_url":"https://api.github.com/users/r10s/gists{/gist_id}","starred_url":"https://api.github.com/users/r10s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r10s/subscriptions","organizations_url":"https://api.github.com/users/r10s/orgs","repos_url":"https://api.github.com/users/r10s/repos","events_url":"https://api.github.com/users/r10s/events{/privacy}","received_events_url":"https://api.github.com/users/r10s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-15T11:26:40Z","updated_at":"2018-12-17T19:46:27Z","closed_at":null,"author_association":"MEMBER","body":"pr #473 we prepare a second  thread that allows to watch a second folder which is needed esp. in a multi-client setup. the twp thread already work as desired (which, btw is compicated enough due to a lot of corner cases ...)\r\n\r\nthe next step would be to really move chat-messages from the INBOX to the DeltaChat-folder (called MVBOX internally).\r\n\r\nthe question, that popped up here is _when_ to move messages?\r\n\r\n1. before `dc_receive_imf()`\r\n   -  messages will take more time until it pop ups in delta (MVBOX-idle has to wake up)\r\n   - when moved, there is a good chance,\r\n      all clients can download the message without further disturbance\r\n2. after `dc_receive_imf()`\r\n    - messages will pop up as fast as possible in delta\r\n    - other clients may get problems as they may be still downloading \r\n      while the first one is ready and moves the message away\r\n    - this could be mitigated by a timeout, eg. messages could be\r\n      moved 10 seconds after arrival\r\n      this might also be nicer when other MUAs are open while\r\n      delta-chatting: instead of a fast flickering,\r\n       there is a chance for the user to read eg. the subject\r\n3. when `dc_markseen_msgs()` is called - this is what the old f-droid version did\r\n    - i think this is confusing for the user when using a MUA and not delta as the inbox may be flooded during this time. i think this is part of the whole problem, maybe even larger than the question _which_ messages to move.\r\n\r\ni have a slight preference for 2. also as this makes it a little easier just not to just the MVBOX and go for a dedicated account. \r\n\r\ncc @hpk42 "},"comment":{"url":"https://api.github.com/repos/deltachat/deltachat-core/issues/comments/447974213","html_url":"https://github.com/deltachat/deltachat-core/issues/475#issuecomment-447974213","issue_url":"https://api.github.com/repos/deltachat/deltachat-core/issues/475","id":447974213,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzk3NDIxMw==","user":{"login":"adbenitez","id":24558636,"node_id":"MDQ6VXNlcjI0NTU4NjM2","avatar_url":"https://avatars3.githubusercontent.com/u/24558636?v=4","gravatar_id":"","url":"https://api.github.com/users/adbenitez","html_url":"https://github.com/adbenitez","followers_url":"https://api.github.com/users/adbenitez/followers","following_url":"https://api.github.com/users/adbenitez/following{/other_user}","gists_url":"https://api.github.com/users/adbenitez/gists{/gist_id}","starred_url":"https://api.github.com/users/adbenitez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbenitez/subscriptions","organizations_url":"https://api.github.com/users/adbenitez/orgs","repos_url":"https://api.github.com/users/adbenitez/repos","events_url":"https://api.github.com/users/adbenitez/events{/privacy}","received_events_url":"https://api.github.com/users/adbenitez/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T19:46:27Z","updated_at":"2018-12-17T19:46:27Z","author_association":"NONE","body":"typo in the title: \"when to move **messags** from INBOX to DeltaChat folder?\"\r\n"}}
{"actor":{"display_login":"adbenitez"}}