https://bugs.kde.org/show_bug.cgi?id=484927

James Graham <james.h.gra...@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/neochat/-/commit/1a9689
                   |                            |9336f2f1a916207796b482ca411
                   |                            |2909ebf
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from James Graham <james.h.gra...@protonmail.com> ---
Git commit 1a96899336f2f1a916207796b482ca4112909ebf by James Graham.
Committed on 09/04/2024 at 18:35.
Pushed by nvrwhere into branch 'master'.

Linkpreviewer Improvements

- Have LinkPreviewers stored in NeoChatConnection so that they don't have to be
reloaded everytime the MessageContentModel is refreshed
- This means the link is never changed (it will be swiched for a new previewer
with the new link)
- LinkPreviewers are stored by URL so they can be re-used by any event with the
same URL

M  +2    -19   autotests/linkpreviewertest.cpp
M  +11   -23   src/linkpreviewer.cpp
M  +10   -12   src/linkpreviewer.h
M  +43   -15   src/models/messagecontentmodel.cpp
M  +2    -1    src/models/messagecontentmodel.h
M  +18   -0    src/neochatconnection.cpp
M  +6    -0    src/neochatconnection.h

https://invent.kde.org/network/neochat/-/commit/1a96899336f2f1a916207796b482ca4112909ebf

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to