IRC log for #maemo-ssu on 20151004

02:26.53*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
05:29.01*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
06:30.57*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
09:09.50*** join/#maemo-ssu futpib (~futpib@176.104.194.78)
09:16.38*** join/#maemo-ssu NIN101 (~core@mail2.quitesimple.org)
12:16.08freemangordonPali: https://github.com/community-ssu/modest/blob/master/src/modest-tny-msg.c#L458
12:16.28freemangordonafter all it seems to me that there is a problem in modest
12:16.55freemangordonit seems to ignore multipart/mixed when searching for a body
12:17.09freemangordonthat is why I see the text content instead of HTML
12:17.09*** join/#maemo-ssu kerio_ (kerio@2a01:4f8:190:32b1::b16b:b5)
12:20.41Palifreemangordon: still yesterday problem?
12:20.43Palior another?
12:21.03freemangordonyep, the same problem
12:21.15freemangordonattachments not visible
12:21.38PaliI know and I tried to show you proof that it is valid to hide attachment
12:21.57freemangordonalso, according to some docs I found on the net, it is the LAST body (or whatever) that is the best representation
12:22.21Paliok, so last part is preferred?
12:22.34freemangordonalso, it is really that modest tries to always use HTML over text
12:22.42freemangordonyes, the last one should be preffered
12:22.47PaliI do not remember if first or last, it is just linear order of preferences
12:22.49Paliok
12:23.04freemangordonthe first one has lowest priority
12:23.35Paliok, then if modest preffer first, then behaviour could be changed
12:24.01freemangordonno, it seems it prefers html, but just can't find it, as it is in multipart/mixed node
12:24.12freemangordonbut it searches for mulipart/related
12:25.17*** join/#maemo-ssu kerio (kerio@2a01:4f8:190:32b1:420:420:420:420)
12:26.37freemangordonPali: see what  modest_tny_msg_find_body_part_in_alternative does
12:45.46*** join/#maemo-ssu sparetire_ (~sparetire@unaffiliated/sparetire)
13:25.33freemangordonPali: what do you think about that patch: http://pastebin.com/DJWwVf0z
13:26.10freemangordonit makes HTML version of that dangled message to appear. Still no attachments though
13:29.11Palirelated is not same as multipart/mixed
13:29.18Paliso it can break other modest part
13:29.44Paliso first check that multipart/mixed parts do not break modest itself (where it can expect related)
13:31.23freemangordonany idea how to check it?
13:32.02freemangordonPali: also, my change affects only the functions that try to find the massage body in the wanted format (text or HTML)
13:32.09freemangordon*message
13:33.45freemangordonI'd assume those are harmless changes
13:39.51*** join/#maemo-ssu kerio (kerio@2a01:4f8:190:32b1:420:420:420:420)
16:04.44freemangordonPali: what about http://pastebin.com/zNNdUWSe ?
16:05.02freemangordonit seems to fix the issue
16:06.09freemangordonwill show attachments only in the "preferred" part of mutipart/alternative messages
16:06.29freemangordonin case of modest, this is the HTML part
18:01.07*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
18:49.28freemangordonPali: ping
19:09.49*** join/#maemo-ssu freemangordon1 (~ivo@46.249.74.23)
19:26.45*** join/#maemo-ssu brolin_empey_ (~brolin@brolin.be)
19:27.13*** join/#maemo-ssu sailus_ (~sailus@nblzone-211-213.nblnetworks.fi)
19:29.15*** join/#maemo-ssu Raimu-X (rmaunula@tuomi.oulu.fi)
19:30.54*** join/#maemo-ssu Wizzup (~Wizzup@82.161.36.93)
19:31.22*** join/#maemo-ssu APic (apic@apic.name)
19:32.29*** join/#maemo-ssu panais (~pan@188.166.37.127)
19:33.07*** join/#maemo-ssu kerio (kerio@bad.memes.vs.dank.ninja)
19:54.33*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-177-124-111.net.upcbroadband.cz)
21:23.39*** join/#maemo-ssu LauRoman|Alt (~LauRoman@5-14-15-167.residential.rdsnet.ro)
22:25.13*** join/#maemo-ssu g3kk3r (~torrkull@far.torrkulla.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.