Page MenuHomePhorge

Handle matrix uri
Needs ReviewPublic

Authored by nannanko on Sat, Sep 6, 10:24 AM.
Tags
None
Referenced Files
F7726668: D229.1757756568.diff
Fri, Sep 12, 2:42 AM
F7725606: D229.1757733903.diff
Thu, Sep 11, 8:25 PM
F7724900: D229.1757716270.diff
Thu, Sep 11, 3:31 PM
F7724899: D229.1757716269.diff
Thu, Sep 11, 3:31 PM
F7724765: D229.1757712946.diff
Thu, Sep 11, 2:35 PM
F7724516: D229.1757705854.diff
Thu, Sep 11, 12:37 PM
F7724302: D229.1757694443.diff
Thu, Sep 11, 9:27 AM
Subscribers
None

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
Maniphest Tasks
T29: Parse matrix links
Summary

Handle matrix uri in kazv.(Includes Matrix URI scheme uri matrix.to navigation)

Require D226.

Type: add

Test Plan

Diff Detail

Repository
rK kazv
Branch
nannanko/handle-matrix-uri
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 421
Build 825: GitLab CI for kazv
Build 824: arc lint + arc unit

Event Timeline

Please add a changelog type to the summary, using the following format:

Type: (add|remove|skip|security|fix)

Tests has not been written yet.

nannanko edited the summary of this revision. (Show Details)
nannanko removed a reviewer: servant.
tusooa requested changes to this revision.Mon, Sep 8, 7:50 PM
tusooa added inline comments.
src/matrix-room-list.hpp
48

I think it's better called contains

src/matrix-sdk.cpp
462–471

I think it's not the way to do it, because (as I mentioned earlier in another patch) directRoomMap contains the map from room id to user id. Since you want a map from user id to room ids, you should be using the m.direct account data directly.

src/matrix-sdk.hpp
104

Use a meaningful name, and write in capitalized camel case. e.g. DirectRoomMap.

105

Because of comments below, this might not be needed. LAGER_QT_READER is only needed if you need to access the property from qml.

This revision now requires changes to proceed.Mon, Sep 8, 7:50 PM

Use Client::accountData() instead of MatrixSdk::directRoomMap() in MatrixSdk::directRoomIds().

Improved code of openLink(), and fixed tests.