Auto reply¶
:feature:autoreply owns locally configured automatic replies and per-contact claiming so one active rule does not repeatedly reply to the same contact without the repository policy allowing it.
Classes¶
AutoReplyAutoReplyRepository/AutoReplyRepositoryImplAutoReplyDataSource- mapping functions
AutoReplyEntity.toDomain()/AutoReply.toEntity()inAutoReplyMapper.kt CreateAutoReplyUseCaseUpdateAutoReplyUseCaseDeleteAutoReplyUseCaseActivateAutoReplyUseCaseDeactivateAutoReplyUseCaseObserveAutoRepliesUseCaseObserveActiveAutoReplyUseCaseClaimAutoReplyForContactUseCaseReleaseAutoReplyRecipientUseCaseAutoReplyViewModel,AutoReplySettingsRoute(),AutoReplySettingsScreen()- Room
AutoReplyEntity,AutoReplyRecipientEntity,AutoReplyDao
ClaimAutoReplyForContactUseCase records the claim timestamp using SystemClock and returns the applicable reply if one is currently claimable for that contact. The actual sending still travels through normal chat/orchestration encryption and transport rules.