Code Monkey home page Code Monkey logo

inviterbot's People

Contributors

frost-cqre avatar katedickey avatar v411e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inviterbot's Issues

renamed_users with "."in username

I looks like the renamed_users functionality does not work if the user has a dot in its new username (e.g. name.firstname. Even using brackets like this "[name.firstname]" seems not to work.

Can't get it working with AAD

Hi,
I am trying to manage users and rooms with AAD, but I can't get over this error:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mautrix/client/syncer.py", line 235, in _catch_errors
    await handler(data)
  File "/opt/maubot/maubot/handlers/command.py", line 154, in __call__
    return await self.__mb_func__(self.__bound_instance__, evt, **call_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/bot.py", line 109, in idp
    room_struct = await helper.get_room_struct_from_idp(self.config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/bot_helper.py", line 65, in get_room_struct_from_idp
    room_struct = await ms_graph_connector.get_rooms(config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/ms_graph_connector.py", line 143, in get_rooms
    mxid = config.get_renamed_mxid(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/config.py", line 47, in get_renamed_mxid
    if renamed_users.get(mxid.username):
       ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

It's in the logs every time I try to do anything that would connect to AAD. I suspect there is something wrong with my AAD user groups setup, but I tried to recreate it as much exactly as possible according to documentation.

Is there some more info that I can look at to further troubleshoot the issue?

Thanks.

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.