Annotate

.hgignore @ 10684:de607875d4bd

MUC: Pass previous role to :publicise_occupant_status() whenever possible Currently there is what amounts to a hack in presence_broadcast.lib.lua to make it always broadcast presence with roles of "none". This is to ensure that if you previously saw available presence for someone, you will also see the unavailable presence (which always has role="none"). The correct approach is to take into account what the previous role was ( i.e. answer the question: "Was the available presence for this occupant a role for which presence broadcast is enabled?). The logic is already in place to do this correctly, but most call sites do not provide the previous role (prev_role argument) of the occupant, which causes it to not be used. In its place the hack to always broadcast presence of role="none" has allowed things to continue to work. The intention is that a subsequent commit will remove the unconditional broadcast of role="none".
author Matthew Wild <mwild1@gmail.com>
date Thu, 12 Mar 2020 14:10:12 +0000
parent 8345:850c433eb862
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1296
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 syntax: glob
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 .hgignore
7770
f0024972489e hgignore: Ignore luacheck cache file
Kim Alvefur <zash@zash.se>
parents: 3636
diff changeset
3 .luacheckcache
1296
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 data
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 local
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 www_files
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 html/*
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 prosody.lua
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 prosody.cfg.lua
2905
b924d915c4d0 .hgignore: Ignore prosody.version (thanks Florob)
Matthew Wild <mwild1@gmail.com>
parents: 1296
diff changeset
10 prosody.version
1296
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 config.unix
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 *.patch
3636
88e4397e39a9 .hgignore: Ignore *.diff.
Waqas Hussain <waqas20@gmail.com>
parents: 3635
diff changeset
13 *.diff
1296
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 *.orig
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15 *.rej
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 *.save
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 *~
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 *.o
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 *.so
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 *.install
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
21 *.pid
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22 *.log
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23 *.err
5cf4c444d3f9 Adding .hgignore
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 *.debug
3635
72f3619eeabd .hgignore: Ignore Windows compilation artifacts.
Waqas Hussain <waqas20@gmail.com>
parents: 2905
diff changeset
25 *.dll
72f3619eeabd .hgignore: Ignore Windows compilation artifacts.
Waqas Hussain <waqas20@gmail.com>
parents: 2905
diff changeset
26 *.exp
72f3619eeabd .hgignore: Ignore Windows compilation artifacts.
Waqas Hussain <waqas20@gmail.com>
parents: 2905
diff changeset
27 *.lib
72f3619eeabd .hgignore: Ignore Windows compilation artifacts.
Waqas Hussain <waqas20@gmail.com>
parents: 2905
diff changeset
28 *.obj
8244
6a27e5f276f7 .hgignore: Add luacov.report.out, luacov.report.out.index and luacov.stats.out
Waqas Hussain <waqas20@gmail.com>
parents: 7770
diff changeset
29 luacov.report.out
6a27e5f276f7 .hgignore: Add luacov.report.out, luacov.report.out.index and luacov.stats.out
Waqas Hussain <waqas20@gmail.com>
parents: 7770
diff changeset
30 luacov.report.out.index
6a27e5f276f7 .hgignore: Add luacov.report.out, luacov.report.out.index and luacov.stats.out
Waqas Hussain <waqas20@gmail.com>
parents: 7770
diff changeset
31 luacov.stats.out