knittl

Results 5 comments of knittl

I found a comment which might be related: https://github.com/majn/telegram-purple/issues/55#issuecomment-107694223 – if received images are not visible at all in the chat window (but show up in the logs folder). The...

How much work would it be to display the link of the media file (in addition to the image)? I think this is a (simple?) improvement, that would already help...

@Malvineous wrote: > […] > If a retry is not possible, I wonder whether a fake message could be returned to the user, like "Unable to retrieve attachment" or something,...

Indeed, this regular expression looks like it was intended match any `'return'` not followed by another `'return'`. But `[^return]` does not mean "not the string 'return' at this position", but...

A better (more maintainable?) solution might be to use `.replace` with a callback function, see #2613: every line with at least one `'return'` is matched, then use a callback to...