Fix #3536: Only use JID in affiliation

add nick if present.
8 jobs for main in 4 minutes and 57 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Lint
failed #31401
allowed to fail
mypyc

00:00:34

failed #31399
allowed to fail
pylint-latest

00:02:40

failed #31400
allowed to fail
pylint-plugins

00:02:11

passed #31398
security-check

00:00:21

 
  Test
passed #31402
pytest-3.7

00:00:37

passed #31403
pytest-latest

00:00:53

 
  Build
passed #31404
www
build-doc

00:01:21

passed #31405
build-ubuntu

00:00:24

 
Name Stage Failure
failed
mypyc Lint
poezio/plugin_e2ee.py:270: error: Argument 2 to "isinstance" has incompatible type "Tuple[Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]]"; expected "Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]"
poezio/plugin_e2ee.py:329: error: Unexpected keyword argument "passthrough" for "_encrypt" of "E2EEPlugin"
poezio/plugin_e2ee.py:374: error: Item "MucTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:374: error: Item "DynamicConversationTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:374: error: Item "StaticConversationTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:389: note: "_encrypt" of "E2EEPlugin" defined here
poezio/plugin_e2ee.py:499: error: Incompatible return value type (got "Union[str, int, float, bool]", expected "str")
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
pylint-latest Lint
poezio/ui/types.py:104:23: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:105:29: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:108:23: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:109:29: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:110:22: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:112:30: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
poezio/ui/types.py:114:22: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
pylint-plugins Lint
$ pylint -E plugins
************* Module plugins.upload
plugins/upload.py:53:40: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
************* Module plugins.lastlog
plugins/lastlog.py:27:18: E1136: Value 'Optional' is unsubscriptable (unsubscriptable-object)
************* Module plugins.untrackme
plugins/untrackme.py:17:11: E1136: Value 'Union' is unsubscriptable (unsubscriptable-object)
Cleaning up file based variables
ERROR: Job failed: exit code 1