alphapapa / ement.el

A Matrix client for GNU Emacs
GNU General Public License v3.0
476 stars 44 forks source link

Make timestamp headers optional #135

Closed FrostyX closed 1 year ago

FrostyX commented 1 year ago

I lurk on some low-traffic channels and there seem to be more timestamp headers than the actual messages. I want to disable them.

alphapapa commented 1 year ago

Thanks for bringing this up.

This patch only adds one line, but it touches a lot of them, and there may be a simpler way: see the variable ement-room-timestamp-header-delta.

FrostyX commented 1 year ago

Thank you for the feedback @alphapapa, so it seems that

(setq ement-room-timestamp-header-delta most-positive-fixnum)

basically disables timestamp headers? Do you find any issue with this configuration? I'll close the PR if this is a good way to do this.

alphapapa commented 1 year ago

AFAIK that would be the preferred solution, yes.

FrostyX commented 1 year ago

Thank you, in that case, I am closing this PR.