Repository navigation
Commit 0cc6ee6
committed
fix(messenger): hold a message-link landing until the linked group resolves
A link with a group id could open with the chat marked a tip DM before the
group loaded, so the landing read as Readable and paged a withheld group's
history. A group hydrated by id also has a null membership, which left the
landing waiting forever. Carry linkedAsGroup from the route and read a null
membership as outside, as the gate does.1 parent dfc1dab commit 0cc6ee6
3 files changed
Lines changed: 59 additions & 4 deletions
File tree
- apps/flipcash/features/messenger/src
- main/kotlin/com/flipcash/app/messenger
- internal
- test/kotlin/com/flipcash/app/messenger/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
| |||
292 | 297 | | |
293 | 298 | | |
294 | 299 | | |
| 300 | + | |
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
| |||
441 | 447 | | |
442 | 448 | | |
443 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
444 | 456 | | |
445 | 457 | | |
446 | 458 | | |
| |||
641 | 653 | | |
642 | 654 | | |
643 | 655 | | |
| 656 | + | |
| 657 | + | |
644 | 658 | | |
645 | 659 | | |
646 | | - | |
647 | | - | |
| 660 | + | |
648 | 661 | | |
649 | 662 | | |
650 | 663 | | |
651 | 664 | | |
652 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
653 | 669 | | |
654 | 670 | | |
655 | 671 | | |
| |||
3478 | 3494 | | |
3479 | 3495 | | |
3480 | 3496 | | |
| 3497 | + | |
3481 | 3498 | | |
3482 | 3499 | | |
3483 | 3500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
667 | 666 | | |
668 | 667 | | |
669 | 668 | | |
| |||
673 | 672 | | |
674 | 673 | | |
675 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
676 | 707 | | |
677 | 708 | | |
678 | 709 | | |
| |||
0 commit comments