This will cause weechat and Glowing Bear read status to drift apart but
that's how it used to be before we added the periodic sync anyway, and
properly fixing it would require maintaining *tons* of state, so that's life.
Maintain unread info for all buffers belonging to a server. This info
is used to hide server buffers for which *no* associated buffer has
activity when 'Only show buffers with unread messages' is enabled.
Closes#1019
We shouldn't update the swipe state if the active doesn't have a
nicklist. The (previously) required double-right-swipe to get to the
sidebar was confusing and a bug
This key binding does "Delete from cursor to previous space".
When the text before the cursor was `some example`,
it would find the space after "some" and delete "example".
When hitting Ctrl+W *again*, it would find the same space again…
and delete nothing.
This changes the code to ignore trailing spaces before the cursor
for the purspose of finding the previous space,
so that something (if at all possible) is always deleted.
Some gifv links on imgur.com do not have an associated webm video
and only provide an mp4 video. Add two source elements with proper
mimetypes for both types of video. The video player will fall back
to the secondary source if the first cannot be loaded (due to 404)
Example: Trying to load the webm version of this video
http://i.imgur.com/i7D4GRb.webm
will result in a 302 redirect to the gifv url, which tries to load
an HTML document. This will cause our video player to reject the
document as an invalid video format (text/html); on some videos it
will simply 404. The mp4 version is available and our player will
fall back to that.