about summary refs log tree commit diff
path: root/net/stomp_erl
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-01-29T11·22+0100
committersterni <sternenseemann@systemli.org>2021-01-29T17·38+0000
commit0176a9e300062ae2edf2f0ba2e365a8c2c4dbc99 (patch)
treed8a5627058cacefa58948fcfeb8acf51c8977e6f /net/stomp_erl
parent001ee91169c4e25bd3696fc3c69e5151f5547a7f (diff)
fix(panettone): handle missing DNs when looking up displaynames r/2152
* Fix find-user-by-dn raising an error condition if the search returns
  no results, return nil instead.
* Adopt strategy of defaulting to “someone” as displayname if lookup
  fails for all usage of displaynames in panettone.

I've tested this change for issues and comments created by missing
users. Adjusting the displayname seems to fix all 500 being created
by missing users both logged out and logged in.

Change-Id: I0a84eb0631c4a49f1664bed6d03afa60dce6eb47
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2448
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'net/stomp_erl')
0 files changed, 0 insertions, 0 deletions