* fix(dragify): pass message.author instead of author to onUserDragStart The patch passed arguments[0].author which is a nickname display object with no .id. The full user object lives at arguments[0].message.author. Also flipped onUserDragStart priority so explicit user?.id wins over DOM inspection, since the caller's passed user is authoritative. * Apply suggestions from code review Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| dragState.ts | ||
| ghost.tsx | ||
| index.tsx | ||
| invite.ts | ||
| style.css | ||
| targets.ts | ||
| utils.ts | ||