Switch from community to spaces #30

Open
opened 2021-08-02 22:44:37 -04:00 by lecris · 0 comments
Contributor

Probably it is a quick fix to just change
https://src.miscworks.net/fair/matrix-puppeteer-line/src/branch/master/matrix_puppeteer_line/portal.py#L752-L756
to something like:

        if self.config["appservice.space_id"]:
            initial_state.append({
                "type": "m.space.child",
                "state_key": self.config["appservice.space_id"],
                "content": {"via": [self.config["homeserver.domain"]]},
            })

It still needs to be tested though.

Probably it is a quick fix to just change https://src.miscworks.net/fair/matrix-puppeteer-line/src/branch/master/matrix_puppeteer_line/portal.py#L752-L756 to something like: ``` if self.config["appservice.space_id"]: initial_state.append({ "type": "m.space.child", "state_key": self.config["appservice.space_id"], "content": {"via": [self.config["homeserver.domain"]]}, }) ``` It still needs to be tested though.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fair/matrix-puppeteer-line#30
No description provided.