Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix matrix connector sync_token book keeping and log on successful connect #1752

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

Cadair
Copy link
Contributor

@Cadair Cadair commented Feb 26, 2021

Description

This makes the matrix connector error out cleaner if it can't connect to the HS

Status

READY

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Copy link
Contributor

@SolarDrew SolarDrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Cadair Cadair enabled auto-merge (squash) February 26, 2021 15:48
@codecov
Copy link

codecov bot commented Feb 26, 2021

Codecov Report

Merging #1752 (ffd187e) into master (c48529e) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1752      +/-   ##
==========================================
- Coverage   99.32%   99.32%   -0.01%     
==========================================
  Files          75       75              
  Lines        4414     4412       -2     
==========================================
- Hits         4384     4382       -2     
  Misses         30       30              
Impacted Files Coverage Δ
opsdroid/connector/matrix/connector.py 98.50% <100.00%> (-0.01%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c48529e...cf9eb6f. Read the comment docs.

@Cadair Cadair merged commit fb36f5c into opsdroid:master Feb 26, 2021
@Cadair Cadair deleted the fix_sync_token branch February 26, 2021 15:54
chillipeper added a commit to chillipeper/opsdroid that referenced this pull request Mar 9, 2021
jacobtomlinson added a commit that referenced this pull request Apr 2, 2021
… mode (#1749)

* first refactor version for slack events api

* first refactor version for slack events api

* black linting

* pass flake8

* Add lint corrections

* Add black lint

* Remove unused attribute

* Add Documentation

* first refactor version for slack events api

* first refactor version for slack events api

* black linting

* pass flake8

* Add lint corrections

* Add black lint

* Remove unused attribute

* Add Documentation

* Add socket mode backend

* Add Documentation

* Add handle bot message subtype

* Fix bug when parsing events

* Add tests to handle bot message subtype

* Drop classes in tests

* Drop classes in tests

* Adding fixes to connector

* Fixes to documentation

* Inform users that RTM support has been dropped. socket-mode support
defaults to true

* Remove explicit event types from connector

* Fix black formatting

* make bot-token required instead of token. remove Inclusive from base_schema, not needed

* Update docs

* Fix tests for bot-token changes

* replace caplog messages for caplog test

* Revert "Fix matrix connector sync_token bookkeeping (#1752)"

This reverts commit fb36f5c.

* Add missing test

* Remove unnecesary Logger line

* Fix documentation

Co-authored-by: Jacob Tomlinson <jacobtomlinson@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants