mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 14:05:18 +00:00
Add tap-to-PM and favorite features
- Make sender names tappable in messages to start private chat - Add star button in private chat header to favorite/unfavorite peers - Refactor message view to separate timestamp, sender, and content - Add helper methods for formatting different parts of messages - Own sender name is not tappable (only other users) - Voice notes remain tappable to play/pause
This commit is contained in:
@@ -999,7 +999,11 @@ extension BluetoothMeshService: CBPeripheralDelegate {
|
||||
}
|
||||
|
||||
func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: Error?) {
|
||||
// Handle write completion if needed
|
||||
if let error = error {
|
||||
print("[PERIPHERAL] Write failed: \(error)")
|
||||
} else {
|
||||
print("[PERIPHERAL] Write completed successfully")
|
||||
}
|
||||
}
|
||||
|
||||
func peripheral(_ peripheral: CBPeripheral, didModifyServices invalidatedServices: [CBService]) {
|
||||
|
||||
Reference in New Issue
Block a user