From 3f0473c5aa472ac99d20a46bd7217ee9b6429f62 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 25 Nov 2021 19:52:11 +0100 Subject: Youtube: show like/dislike count for videos in the youtube description --- src/QuickMedia.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 464417a..3ce881e 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -6725,6 +6725,7 @@ namespace QuickMedia { if(selected_tab == MESSAGES_TAB_INDEX && current_room && current_room->body_item && (!current_room->last_message_read || has_unread_messages) && matrix->is_initial_sync_finished()) { if(after_token.empty() && !tabs[selected_tab].body->is_bottom_cut_off() && is_window_focused && chat_state != ChatState::URL_SELECTION && !setting_read_marker && read_marker_timer.get_elapsed_time_seconds() >= read_marker_timeout_sec) { + // TODO: Only set read marker once every second if the message is not the last message in the room auto body_items = tabs[selected_tab].body->get_items(); int last_timeline_message = (int)body_items.size() - 1; for(int i = last_timeline_message - 1; i >= 0; --i) { -- cgit v1.2.3