Giter VIP home page Giter VIP logo

Comments (7)

tulir avatar tulir commented on July 19, 2024

It should work fine even without those commands

from googlechat.

Kevin8675 avatar Kevin8675 commented on July 19, 2024

It should work fine even without those commands

How can I check if it is working?

from googlechat.

Kevin8675 avatar Kevin8675 commented on July 19, 2024

So I just sent a message from google chat with the user that I linked in matrix. In the log I can see this error:

[2021-11-26 16:34:54,884] [[email protected]:18wU7gAAAAE-117032971095616605580] Ignoring own message Sl5vj-0RGUw in private chat because own puppet is not in room.

from googlechat.

tulir avatar tulir commented on July 19, 2024

The bridge should log a warning when starting the bridge if automatically enabling double puppeting fails

from googlechat.

Kevin8675 avatar Kevin8675 commented on July 19, 2024

The bridge should log a warning when starting the bridge if automatically enabling double puppeting fails

I just restarted the bridge and I got this in the log:

[2021-11-26 16:55:45,629] [[email protected].@kevin:matrix.dwbi.ca] Failed to automatically enable custom puppet
Traceback (most recent call last):
  File "/home/pi/gchat/lib/python3.9/site-packages/mautrix_googlechat/user.py", line 297, in on_connect_later
    await puppet.switch_mxid(access_token="auto", mxid=self.mxid)
  File "/home/pi/gchat/lib/python3.9/site-packages/mautrix/bridge/custom_puppet.py", line 181, in switch_mxid
    access_token = await self._login_with_shared_secret(mxid)
  File "/home/pi/gchat/lib/python3.9/site-packages/mautrix/bridge/custom_puppet.py", line 166, in _login_with_shared_secret
    raise AutologinError(f"Didn't get an access token: {error_msg}") from None
mautrix.bridge.custom_puppet.AutologinError: Didn't get an access token: Invalid password

Where do I need to put the access token?

from googlechat.

tulir avatar tulir commented on July 19, 2024

That sounds like the shared secret in the config isn't correct (or the synapse module is set up incorrectly, the latest version breaks stuff)

from googlechat.

Kevin8675 avatar Kevin8675 commented on July 19, 2024

That sounds like the shared secret in the config isn't correct (or the synapse module is set up incorrectly, the latest version breaks stuff)

I was able to fix it by enabling the "m_login_password_support_enabled" in the module section in homeserver.yaml. You should probably put this somewhere in the docs for dubble puppeting. Thanks for the help!

from googlechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.