[lib] Move local id update reducer into specs
Summary:
Move getting raw messages to a spec.
Depends on D9315
https://linear.app/comm/issue/ENG-4241/handle-processupdatesactiontype-as-a-part-of-a-spec
Test Plan: Check if the new code produces the same result as the old one.
Reviewers: kamil, bartek, inka
Reviewed By: kamil
Subscribers: ashoat, michal
Differential Revision: https://phab.comm.dev/D9318