Philipp Hörist pushed to branch master at gajim / gajim
Commits:
587c3bb7 by lovetox at 2022-08-14T13:40:08+02:00
cq: Remove redundant elif
- - - - -
1 changed file:
- gajim/common/modules/vcard_avatars.py
Changes:
=====================================
gajim/common/modules/vcard_avatars.py
=====================================
@@ -253,7 +253,7 @@ def preconditions_met(self) -> bool:
if not client.state.is_available:
return False
- elif isinstance(self._contact, GroupchatParticipant):
+ if isinstance(self._contact, GroupchatParticipant):
if not self._contact.room.is_joined:
self.set_obsolete()
return False
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/587c3bb75727a1cc8701a116a8e4e6a4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/587c3bb75727a1cc8701a116a8e4e6a4…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
996c4346 by lovetox at 2022-08-14T08:42:17+02:00
chore: Add new commit prefixes
- - - - -
2 changed files:
- .githooks/update
- CONTRIBUTING.md
Changes:
=====================================
.githooks/update
=====================================
@@ -11,6 +11,8 @@ import subprocess
ALLOWED_TAGS = [
'ci',
+ 'cfix',
+ 'new',
'cq',
'feat',
'fix',
=====================================
CONTRIBUTING.md
=====================================
@@ -34,15 +34,22 @@ # Commit Messages
Every commit message must be prefixed with one of the following tags:
-- ci (ci related changes)
-- cq (code quality changes e.g. formatting, typing, codestyle)
+Changelog relevant
+
- feat (a new feature was added)
- fix (something was fixed)
- perf (performance related changes)
- imprv (improvements)
+- change (existing functionality was changed)
+
+Prefixes for development
+
+- new (new code, but the end user will not notice)
+- ci (ci related changes)
+- cq (code quality changes e.g. formatting, typing, codestyle)
+- cfix (code fixes which should not show up in the changelog)
- refactor (code was changed, but the end user will not notice)
- chore (reoccuring tasks which need to be done)
-- change (existing functionality was changed)
- release (only used for release commits)
- other
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/996c43464d7e2cf3f5090f31a97d8aec…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/996c43464d7e2cf3f5090f31a97d8aec…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0c95e7c5 by lovetox at 2022-08-13T23:00:30+02:00
imprv: Don’t disco MUC participants on presence
- - - - -
1 changed file:
- gajim/common/modules/caps.py
Changes:
=====================================
gajim/common/modules/caps.py
=====================================
@@ -111,6 +111,10 @@ def _entity_caps(self,
if properties.entity_caps is None:
return
+ if properties.muc_user is not None:
+ # Don’t query MUC participants
+ return
+
task = EntityCapsTask(self._account, properties, self._execute_task)
self._log.info('Received %s', task.entity)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0c95e7c508f801ae9d31b481ba4e975f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0c95e7c508f801ae9d31b481ba4e975f…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
d172b074 by lovetox at 2022-08-13T18:13:07+02:00
cq: Fix typo
- - - - -
1 changed file:
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/modules/muc.py
=====================================
@@ -577,7 +577,7 @@ def _on_muc_user_presence(self,
# We receive only the unavailable presence here, so we take
# the current presence and create a new contact with it, before we
- # update the precence.
+ # update the presence.
nickname = properties.muc_user.nick
new_occupant = room.add_resource(nickname)
new_occupant.set_presence(occupant.presence)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d172b0743d14a77f3bad426d2e92e644…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d172b0743d14a77f3bad426d2e92e644…
You're receiving this email because of your account on dev.gajim.org.